Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade @fluent/bundle from 0.13.0 to 0.15.1 #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

snyk-bot
Copy link

@snyk-bot snyk-bot commented Jul 6, 2020

Snyk has created this PR to upgrade @fluent/bundle from 0.13.0 to 0.15.1.

merge advice

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 4 versions ahead of your current version.
  • The recommended version was released 3 months ago, on 2020-04-07.
Release notes
Package name: @fluent/bundle
  • 0.15.1 - 2020-04-07
    • Allow only some formatting options to NUMBER and DATETIME. (#464)

      The builtin functions available to translations were liberal in terms of the options they accepted. This could lead to undesired results, e.g. when for the same number value, a translation would specify a different currency than the source language.

      The NUMBER builtin now only recognizes the following options:

      unitDisplay
      currencyDisplay
      useGrouping
      minimumIntegerDigits
      minimumFractionDigits
      maximumFractionDigits
      minimumSignificantDigits
      maximumSignificantDigits
      

      The DATETIME builtin now only recognizes the following options:

      dateStyle
      timeStyle
      fractionalSecondDigits
      dayPeriod
      hour12
      weekday
      era
      year
      month
      day
      hour
      minute
      second
      timeZoneName
      

      All other options are ignored.

  • 0.15.0 - 2020-01-23
  • 0.14.1 - 2019-12-20
  • 0.14.0 - 2019-07-30
  • 0.13.0 - 2019-07-25
    • Add the useLocalization hook. (#467, #475)

      The hook can be used to get a reference to the current
      ReactLocalization instance, for example in order to format a
      translation with the imperative getString API.

      let {l10n} = useLocalization();
      alert(l10n.getString("hello"));
    • Remove compat.js builds and compile everything to ES2018. (#472)

      TypeScript source code is now compiled to ES2018 files in the esm/
      directory. These files are then bundled into a single index.js UMD file
      without any further transpilation.

      The compat.js build (available as @fluent/react/compat) was removed.
      Please use your own transpilation pipeline if ES2018 is too recent for
      your project.

      Refer to https://github.com/projectfluent/fluent.js/wiki/Compatibility
      for more information.

    • Require @fluent/bundle 0.16.0 as peer dependency.

      In @fluent/bundle 0.16.0 FluentArgument was renamed to FluentVariable.

from @fluent/bundle GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant